package com.pets.qo;

import org.springframework.web.multipart.MultipartFile;

/**
 * 文章发表入参
 *
 */
public class KnowledgeAddQO {

    private String kTitle;
    private String kContent;
    private String kPicture;
    private int uId;
    private MultipartFile file;

    public MultipartFile getFile() {
        return file;
    }

    public void setFile(MultipartFile file) {
        this.file = file;
    }

    public int getuId() {
        return uId;
    }

    public void setuId(int uId) {
        this.uId = uId;
    }

    public String getkTitle() {
        return kTitle;
    }

    public void setkTitle(String kTitle) {
        this.kTitle = kTitle;
    }

    public String getkContent() {
        return kContent;
    }

    public void setkContent(String kContent) {
        this.kContent = kContent;
    }

    public String getkPicture() {
        return kPicture;
    }

    public void setkPicture(String kPicture) {
        this.kPicture = kPicture;
    }

    public KnowledgeAddQO() {
    }

    public KnowledgeAddQO(String kTitle, String kContent, String kPicture) {
        this.kTitle = kTitle;
        this.kContent = kContent;
        this.kPicture = kPicture;
    }

    @Override
    public String toString() {
        return "KnowledgeAddQO{" +
                "kTitle='" + kTitle + '\'' +
                ", kContent='" + kContent + '\'' +
                ", kPicture='" + kPicture + '\'' +
                '}';
    }
}
